package com.sdry.mapper.cb;

import com.sdry.model.lz.Materiel;
import com.sdry.model.zc.ZcInventoryInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockMapper {
    List<ZcInventoryInfoEntity> getStockList(@Param("customerId") Long customerId, @Param("maNum") String maNum);

    List<Materiel> getTiaoMaList(@Param("page") Integer page, @Param("pageSize") Integer pageSize, @Param("mid") String mid);

    Integer getTiaoMaTotal(@Param("mid") String mid);

    Integer insert(@Param("mid") Long mid, @Param("sum") Integer sum);
}
